
/*
 个人资料控制器
 1.0 mouse 2016/07/15
 */
appController.controller('personDetailCtrl',['$scope',function($scope){

}])
/*
 修改密码控制器
 1.0 mouse 2016/07/15
 */
appController.controller('modiPassCtrl',['$scope',function($scope){

}])
/*
 记事本控制器
 1.0 mouse 2016/07/16
 */
appController.controller('noteCtrl',['$scope',function($scope){
   $scope.col = 'time';
   $scope.desc = 0;
   $scope.date=[
      {title:"提交档案",event:"初审档案待提交后苛工奢侈遥工在地地在林要莽夫仍极有",time:"2016/2/5"},
      {title:"提交档案1",event:"初审档案待提交后苛工奢侈遥工在地asd地在林要莽夫仍极有",time:"2016/4/4"},
      {title:"提交档案3",event:"初审档案待提交后苛工奢侈遥工在vv地地在林要莽夫仍极有",time:"2016/3/5"},
      {title:"提交档案2",event:"初审档案待提交后苛工奢侈遥工在地cx地在林要莽夫仍极有",time:"2016/4/5"},
      {title:"提交档案5",event:"初审档案待提交后苛工奢侈遥工在地地在林z要莽夫仍极有",time:"2016/6/5"}

   ];
   for(var i=0;i<$scope.date.length;i++)
   {
      if($scope.date[i].event.length>14)
         $scope.date[i].event=$scope.date[i].event.substring(0,15)+"...";
   }
}])

/*
 添加记事本事件控制器
 1.0 mouse 2016/07/16
 */
appController.controller('noteAddCtrl',['$scope',function($scope){

}])

/*
 事件详情控制器
 1.0 mouse 2016/07/16
 */
appController.controller('noteDetailCtrl',['$scope',function($scope){

}])

/*
 备忘录控制器
 1.0 mouse 2016/07/16
 */
appController.controller('memoCtrl',['$scope',function($scope){
   // $scope.testa={te:'备忘录界面'};
    $scope.day=new Date();
    //$scope.dayCount={d:day.d.getData()};
    //$scope.dayCount={d:day.d.getData()};

}])

/*
 修改个人资料控制器
 1.0 mouse 2016/07/18
 */
appController.controller('modifyPersonCtrl',['$scope',function($scope){


    $scope.myValue="def";
    $scope.showPicture=function(){

        var path=jq("#imgc").val();
        var path1 = path.lastIndexOf("\\");
        var name = path.substring(path1+1);
        
    jq("#imgshow").src=name;

    }


}])
/*
 登录控制器
 1.0 mouse 2016/07/20
 */
appController.controller('loginCtrl',['$scope',function($scope){

}])